#ifndef GRAPHICSTOOL_H
#define GRAPHICSTOOL_H
#include "ElaWindow.h"
class ElaContentDialog;
class ElaCheckBox;
class ElaDockWidget;
class ElaToolButton;
class GraphicsTool : public ElaWindow {
    Q_OBJECT

public:
    GraphicsTool(QWidget* parent = nullptr);
    ~GraphicsTool();

private:
    void initWindow();
    void initEdgeLayout();
    void initContent();

private:
    ElaContentDialog* _closeDialog{nullptr};   
    
    ElaCheckBox* m_checkbox_grid{nullptr};
    ElaCheckBox* m_checkbox_line_tip{nullptr};
    ElaCheckBox* m_checkbox_swap_wh{nullptr};

    // ElaDockWidget* m_dockwidget_main{nullptr};
    // ElaDockWidget* m_dockwidget_sub{nullptr};
    // ElaDockWidget* m_dockwidget_block{nullptr};

    ElaToolButton *m_tbtn_new_file{nullptr};
    ElaToolButton *m_tbtn_save_file{nullptr};
    ElaToolButton *m_tbtn_open_file{nullptr};
    ElaToolButton *m_tbtn_export_img{nullptr};
    ElaToolButton *m_tbtn_clear{nullptr};

    QString _aboutKey{""};
};
#endif // GRAPHICSTOOL_H
